import request from '@/utils/request'

// 查询其他出库单列表
export function listOtherissuebill(query) {
  return request({
    url: '/settlementCenter/basebill/otherissuebill/list',
    method: 'get',
    params: query
  })
}

// 查询其他出库单详细
export function getOtherissuebill(id) {
  return request({
    url: '/settlementCenter/basebill/otherissuebill/' + id,
    method: 'get'
  })
}

// 新增其他出库单
export function addOtherissuebill(data) {
  return request({
    url: '/settlementCenter/basebill/otherissuebill',
    method: 'post',
    data: data
  })
}

// 修改其他出库单
export function updateOtherissuebill(data) {
  return request({
    url: '/settlementCenter/basebill/otherissuebill',
    method: 'put',
    data: data
  })
}

// 删除其他出库单
export function delOtherissuebill(id) {
  return request({
    url: '/settlementCenter/basebill/otherissuebill/' + id,
    method: 'delete'
  })
}
